<script>
import { ref } from 'vue'
export default {
  name: 'SetUpTest',
  setup() {
    let count = ref(0)
    let countAdd = () => {
      count.value++
    }
    return {
      count,
      countAdd
    }
  }
}
</script>

<template>
<P>{{count}}</P>
<button @click="countAdd">+</button>
</template>

<style scoped></style>